package com.eedi.framework.sms.controller.sys.vo;

import com.eedi.framework.common.enums.CommonStatusEnum;
import com.eedi.framework.sms.enums.SmsBizTypeEnum;
import com.eedi.framework.sms.enums.SmsClientTypeEnum;
import com.eedi.framework.sms.enums.SmsNotifyOptionalEnum;
import com.eedi.framework.sms.enums.SmsSceneEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "系统界面 - 短信 Response VO")
@Data
public class SysSmsResp {

    /**
     * 短信消息ID
     */
    @Schema(description = "短信消息ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27639")
    private String sysSmsId;

    /**
     * 应用端：1用户端 2 医生端  sms_client_type
     */
    @Schema(description = "应用端：1用户端 2 医生端", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private SmsClientTypeEnum sysSmsTemplateClientType;

    /**
     * 业务场景类型：1注册登录 2 问诊 3 处方 详情见枚举  sms_biz_type
     */
    @Schema(description = "业务场景类型：1注册登录 2 问诊 3 处方 详情见枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private SmsBizTypeEnum sysSmsTemplateBizType;

    /**
     * 短信触发场景 sms_scene
     */
    @Schema(description = "短信触发条件：1.登录验证码通知 2 医生接诊通知 详情见枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private SmsSceneEnum sysSmsTemplateScene;

    /**
     * 短信模板内容
     */
    @Schema(description = "短信模板内容", requiredMode = Schema.RequiredMode.REQUIRED)
    private String sysSmsTemplateContent;

    /**
     * 短信模板说明
     */
    @Schema(description = "短信模板说明", example = "你猜")
    private String sysSmsTemplateDesc;

    /**
     * 短信通知模式 sms_notify_optional
     */
    @Schema(description = "短信通知模式：0 必选 1 可选", requiredMode = Schema.RequiredMode.REQUIRED)
    private SmsNotifyOptionalEnum sysSmsTemplateNotifyOptional;

    /**
     * 短信消息模板ID
     */
    @Schema(description = "短信消息模板ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13366")
    private String sysSmsTemplateId;

    /**
     * 短信 API 的模板编号
     */
    @Schema(description = "短信 API 的模板编号")
    private String sysSmsTemplateApiCode;

    /**
     * 短信启用状态
     */
    @Schema(description = "短信启用状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private CommonStatusEnum sysSmsTemplateStatus;

}
